#pragma once
#include "ArMode.h"
#include "ArLog.h"
#include "ariaUtil.h"

extern bool ControlStartCapture;
class AxLaserCaputure:public ArMode
{
public:
	AxLaserCaputure(ArRobot *robot, const char *name, char key, char key2);

	~AxLaserCaputure(void);

	virtual void activate(void);

	virtual void deactivate(void);

	virtual void userTask(void);

	virtual void help(void);

public:
	ArFunctorC<AxLaserCaputure> myCaptureCB;

	void CapturePointCloud(void);
	bool isStarCapture;
	ArTime myLastDataTime;
	int timeTickCount;
};
